package com.shop.cloud.domain.hongfu;

import java.sql.Timestamp;
import java.util.Date;
import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.shop.cloud.common.mapper.OffsetDateTimeToIso8601Serializer;
import com.shop.cloud.common.mybatis.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 
 * adv-adv
 *
 */
@ToString
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class Adv extends BaseEntity{

	private static final long serialVersionUID = 1L;
	
	public static final int POSITION_HOME_BANNER = 1;		// 1：首页Banner
	public static final int TYPE_LINK = 0;				// 0：链接
	public static final int TYPE_NEWS = 1;				// 1：新闻资讯
	public static final int TYPE_GOODS = 2;				// 2：商品详情页
	public static final int TYPE_ACTIVITY = 3;			// 3：活动详情页
	public static final int TYPE_NO_JUMP = 4;			// 4：无跳转
	public static final int TYPE_RICHTEXT = 5;			// 5: 富文本
	public static final int STATUS_OPEN = 1;				// 1: 已启用
	public static final int STATUS_CLOSE = 2;			// 2: 未启用
	
	/**
	 * 广告位置：
1：首页Banner
	 */
	@ApiModelProperty(value = "广告位置：1：首页Banner")
	 private Integer position;
	/**
	 * 广告类型：
0：链接
1：新闻资讯
2：商品详情页
3：活动详情页
4：无跳转
5: 富文本
	 */
	@ApiModelProperty(value = "广告类型：\n" + 
			"0：链接\n" + 
			"1：新闻资讯\n" + 
			"2：商品详情页\n" + 
			"3：活动详情页\n" + 
			"4：无跳转\n" + 
			"5: 富文本")
	 private Integer type;
	/**
	 * 广告图片
	 */
	@ApiModelProperty(value = "广告图片")
	 private String picture;
	/**
	 * 广告标题
	 */
	@ApiModelProperty(value = "广告标题")
	 private String title;
	/**
	 * 广告内容。
	 */
	@ApiModelProperty(value = "广告内容。")
	 private String content;
	/**
	 * 是否启用.
1：已启用
2：未启用
	 */
	@ApiModelProperty(value = "是否启用.1：已启用2：未启用")
	 private Integer status;
    
    public Adv(){
    
    }
    
    public Integer getPosition() {
        return this.position;
    }
    
    public void setPosition(Integer position) {
        this.position = position;
    }
    public Integer getType() {
        return this.type;
    }
    
    public void setType(Integer type) {
        this.type = type;
    }
    public String getPicture() {
        return this.picture;
    }
    
    public void setPicture(String picture) {
        this.picture = picture;
    }
    public String getTitle() {
        return this.title;
    }
    
    public void setTitle(String title) {
        this.title = title;
    }
    public String getContent() {
        return this.content;
    }
    
    public void setContent(String content) {
        this.content = content;
    }
    public Integer getStatus() {
        return this.status;
    }
    
    public void setStatus(Integer status) {
        this.status = status;
    }

}